package com.lrkj.back.service.impl;

import java.util.List;
import java.util.Map;

import com.lrkj.back.entity.KcChuku;
import com.lrkj.back.mapper.KcChukuMapper;
import com.lrkj.back.service.KcChukuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.com.cbons.mamisay.parent.db.api.DBInterface;
import cn.com.cbons.mamisay.parent.exception.DBException;
import cn.com.cbons.mamisay.parent.service.base.ParentServiceImpl;

@Transactional
@Service("kcChukuService")
public class KcChukuServiceImpl extends ParentServiceImpl<KcChuku> implements KcChukuService {

    @Autowired
    private KcChukuMapper kcChukuMapper;

    @Override
    protected DBInterface<KcChuku> getDao() throws DBException {
        // TODO Auto-generated method stub
        return kcChukuMapper;
    }

    @Override
    public List<KcChuku> findChuku(Map<String, Object> map) {

        return kcChukuMapper.findChuku(map);

    }

}
